/**
 * 
 */
package com.zt.demo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.zt.demo.IDemoBusiness;
import com.zt.demo.IDemoDao;
import com.zt.org.OOrg;

/**
 * DemoBusinessImpl 演示业务
 * 
 * @author zhangzhw
 * 
 */
public class DemoBusinessImpl  implements IDemoBusiness {

	@Autowired
	private IDemoDao iDemoDao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.zt.demo.IDemoBusiness#findAll()
	 */
	@Override
	public List<OOrg> findAll() {

		return iDemoDao.findAll("from OOrg");
	}

}
